package cn.wxxyhw.entity;

import org.springframework.stereotype.Component;


public class Employee {
    private int id;
    private String lastName;
    private String email;
    private String fender;

    public int getId() {
        return id;
    }

    public String getLastName() {
        return lastName;
    }

    public String getEmail() {
        return email;
    }

    public String getFender() {
        return fender;
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public void setFender(String fender) {
        this.fender = fender;
    }

    public Employee(int id, String lastName, String email, String fender) {
        this.id = id;
        this.lastName = lastName;
        this.email = email;
        this.fender = fender;
    }

    public Employee(){}

    @Override
    public String toString() {
        return "Employee{" +
                "id=" + id +
                ", lastName='" + lastName + '\'' +
                ", email='" + email + '\'' +
                ", fender='" + fender + '\'' +
                '}';
    }
}
